<template>
	<div opon="bShow">
		<h3>这是我的第一个组件</h3>
		<button></button>
		<button @click="doOK()">确认</button>
	</div>
</template>

<script setup>
	import MyDialog from "@/components/MyDialog.vue"
</script>
<script>
	export default{
		name:'myDialog',
		data(){
			return{
				bShow :true,
			}
		},
		methods:{
			doOK(){ this.bShow = false;}
		},
		mounted() {
			
		},
	}
</script>
<style>
</style>
